package com.example.webserver.service;

import com.example.webserver.entity.Category;

import java.util.List;

public interface CategoryService {
    void add(Category category);
    List<Category> list();
    void update(Category category);
    Category findcategorybyId(int id);
    void delete(Integer id);
}
